{extends file="./main.tpl"}
{block name=head}
<script type="text/javascript">
function myFunction()
{
  if(confirm("You Want To Remove This Record")== true)
  {
	  return true;
  }
  else
  {
	  return false;
  }
}
</script>
{/block}
{block name=body}
  <table align="center" border="2" cellpadding="2" cellspacing="2" width="" >
<tr>
  <td align="center" class="table1" colspan="13"><b> Item Display </b></td>
</tr>
<tr>
  <th class="table2" NOWRAP><b></b></th>
  <th class="table2" NOWRAP>Item</th>
  <th class="table2" NOWRAP>Size</th>
	<th class="table2" NOWRAP>Company</th>
  <th class="table2" NOWRAP>Quality</th>
  <th class="table2" NOWRAP>Color</th>
  <th class="table2" NOWRAP>Dseign Name</th>
  <th class="table2" align="center">Image</th>
</tr>
 {section name="sec" loop=$colorArray}
<tr>
   <td class="table2" align="center"><a href="colorDelete.php?colorId={$colorArray[sec].subitemId}" onclick="return myFunction();"class="link"> <img src="./images/deleteIco.png"></a></td>
        <td class="table2"NOWRAP>{$colorArray[sec].itemName}</td>
        <td class="table2"NOWRAP>{$colorArray[sec].sizeName}</td>
        <td class="table2"NOWRAP>{$colorArray[sec].companyName}</td>
        <td class="table2"NOWRAP>{$colorArray[sec].qualityName}</td>
        <td class="table2"NOWRAP>{$colorArray[sec].colorName}</td>
        <td class="table2"NOWRAP>{$colorArray[sec].designName}</td>
        <td class="table2" ><img src="images/img/{$colorArray[sec].itemImage}" height="50" width="50" ></td>
     </tr>
      {/section}
    </table>
{/block}
